home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3135 / text0000.txt < prev   
Encoding:
Text File  |  1996-08-05  |  753 b   |  21 lines

  1. In a message of 06 Feb 96 Marc 'Nepomuk' Heuler wrote to All:
  2.  
  3.  MNH> If  you don't need an interleaved bitmap, then don't ask for one (ie
  4.  MNH> do not set  BMF_INTERLEAVED).  If you need your bitmap to be
  5.  MNH> non-interleaved, then grab  the  planes via AllocRaster(), and merge
  6.  MNH> them to a valid bitmap using InitBitmap().  Note well the difference
  7.  MNH> between those two requirements.
  8.  
  9.  Just a quick question:
  10.  
  11.  What exactly does InitBitmap() do ??
  12.  
  13.  I simply allocate the correct amount of chipmem using AllocMem,calculate the
  14. bitplane addresses then bung them into a BitMap structure.
  15.  
  16.  Then I open an intuition screen with a custom bitmap. Is there anything
  17. "wrong" with this method ? Is this liable to fail in a future OS ?
  18.  
  19. Andrew Bennett
  20.  
  21.